package com.bgy.geek.entity;

import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 * 项目表(TbProject)表实体类
 *
 * @author makejava
 * @since 2021-10-22 11:23:32
 */
@SuppressWarnings("serial")
@Data
public class TbProject extends Model<TbProject> {
	//自增主键
	@TableId(type = IdType.AUTO)
	private Integer id;
	//项目编码
	private String projectCode;
	//项目名称
	private String projectName;
	//重要级别
	private String level;
	//计划开始时间
	private LocalDateTime planStartTime;
	//计划结束时间
	private LocalDateTime planEndTime;
	//实际开始时间
	private LocalDateTime actualStartTime;
	//实际结束时间
	private LocalDateTime actualEndTime;
	//项目描述
	private String projectDescription;
	//租户id
	private Integer rentId;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}


	/**
	 * 获取主键值
	 *
	 * @return 主键值
	 */
	@Override
	protected Serializable pkVal() {
		return this.id;
	}
}
